/**
* 作者: chenlingzhi
* 日期: 2025-01-09 17:45:30
* 备注: 新手注册签到奖励表
*/
package com.motu.monstercity.server.game.commondata.act;

import io.vertx.core.json.JsonObject;

public class RegisterSignRewardModel {
	protected int id; // id
	protected int dayNum; // 天数
	protected String reward; // 奖励

	public RegisterSignRewardModel() {
	}

	public RegisterSignRewardModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		dayNum = obj.containsKey("day_num") ? obj.getInteger("day_num") : 0;
		reward = obj.containsKey("reward") ? obj.getString("reward") : "";
	}

	public int getId() {
		return id;
	}

	public int getDayNum() {
		return dayNum;
	}

	public String getReward() {
		return reward;
	}

}
